//
//  Shapes.h
//  DemoDrawingShapesInCanvasUsingObjects
//
//  Created by duc nguyen van on 8/15/11.
//  Copyright 2011 STU. All rights reserved.
//

#import <UIKit/UIKit.h>
@class DrawingPage;

@protocol delegateShape

- (void)actionTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event andView:(UIView*)v andVexter:(CGPoint)vex;
- (void)actionTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event andView:(UIView*)v;

@end


@interface Shapes : UIView {
	UIColor		*color;
	float		stroke;
	
	id<delegateShape> delegate;
	
	//create Vexter
	CGPoint Vexter;
	CGPoint BPoint;
	CGPoint EPoint;
}

@property (assign) id<delegateShape> delegate;

@property (nonatomic, retain) UIColor *color;
@property (readwrite) float stroke;

@end
